<div class="tools">
	<ul class="toolbar">
		<li class="click">
			<a href="<?php echo ADMIN_DIR.'menu/add'; ?>" >
				<span>
					<img src="/houtai/images/t01.png" alt="">
				</span>
				添加
			</a>

		</li>
	</ul>	
</div>
<table class="imgtable">
	<thead>
		<tr>
			<th>编号</th>
			<th>标题</th>
			<th>链接</th>
			<th>排序</th>
			<th>显示</th>
			<th>操作</th>
		</tr>
	</thead>
	<?php if (!empty($list)): ?>
		<tbody>
			<?php foreach ($list as $k => $v): ?>
				<tr>
					<td><?php echo $v['id'] ?></td>
					<td><?php echo $v['html'].$v['title'] ?></td>
					<td><?php echo $v['link'] ?></td>
					<td><?php echo $v['sort'] ?></td>
					<td><?php echo $v['isVisible'] ? '是' : '否' ?></td>
					<td>
						<a class="ibtn" href="<?php echo ADMIN_DIR.'menu/update?mid='.$v['id'] ?>">修改</a>
						<a class="ibtn" href="<?php echo ADMIN_DIR.'menu/delete?mid='.$v['id'] ?>">删除</a>
					</td>
				</tr>
			<?php endforeach ?>
		</tbody>
	<?php endif; ?>
</table>
